package com.huge.simple.system.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author jihu
 * date 2022-03-29
 */
@ApiModel("数据库表字段")
public class SysTableColumn {

    @ApiModelProperty("表名")
    private String tableName;

    @ApiModelProperty("字段名")
    private String columnName;

    @ApiModelProperty("分区数")
    private String ordinalPosition;

    @ApiModelProperty("数据类型")
    private String columnType;

    @ApiModelProperty("字段意思")
    private String columnComment;

    public String getTableName() {
        return tableName;
    }

    public SysTableColumn setTableName(String tableName) {
        this.tableName = tableName;
        return this;
    }

    public String getColumnName() {
        return columnName;
    }

    public SysTableColumn setColumnName(String columnName) {
        this.columnName = columnName;
        return this;
    }

    public String getOrdinalPosition() {
        return ordinalPosition;
    }

    public SysTableColumn setOrdinalPosition(String ordinalPosition) {
        this.ordinalPosition = ordinalPosition;
        return this;
    }

    public String getColumnType() {
        return columnType;
    }

    public SysTableColumn setColumnType(String columnType) {
        this.columnType = columnType;
        return this;
    }

    public String getColumnComment() {
        return columnComment;
    }

    public SysTableColumn setColumnComment(String columnComment) {
        this.columnComment = columnComment;
        return this;
    }
}
